package edu.tms.bean;

import java.util.*;


public class Admin {
	/**
	 * 管理员id
	 */
	private Integer adminId;

	/**
	 * 管理员名字
	 */
	private String adminName;

	/**
	 * 管理员性别
	 */
	private String adminSex;

	/**
	 * 管理员QQ
	 */
	private String adminQq;

	/**
	 * 管理员电话
	 */
	private String adminPhone;

	/**
	 * 管理员邮箱
	 */
	private String adminEmail;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 管理员类型 1普通，2超级管理员
	 */
	private Integer adminType;

	/**
	 * 管理员状态 1正常，2冻结
	 */
	private Integer adminState;


	public Admin () {
		super();
	}

	public Admin (Integer adminId,String adminName,String adminSex,String adminQq,String adminPhone,String adminEmail,Date createTime,Integer adminType,Integer adminState) {
		this.adminId = adminId;
		this.adminName = adminName;
		this.adminSex = adminSex;
		this.adminQq = adminQq;
		this.adminPhone = adminPhone;
		this.adminEmail = adminEmail;
		this.createTime = createTime;
		this.adminType = adminType;
		this.adminState = adminState;
	}

	public Integer getAdminId() {
		return this.adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	public String getAdminName() {
		return this.adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public String getAdminSex() {
		return this.adminSex;
	}

	public void setAdminSex(String adminSex) {
		this.adminSex = adminSex;
	}

	public String getAdminQq() {
		return this.adminQq;
	}

	public void setAdminQq(String adminQq) {
		this.adminQq = adminQq;
	}

	public String getAdminPhone() {
		return this.adminPhone;
	}

	public void setAdminPhone(String adminPhone) {
		this.adminPhone = adminPhone;
	}

	public String getAdminEmail() {
		return this.adminEmail;
	}

	public void setAdminEmail(String adminEmail) {
		this.adminEmail = adminEmail;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getAdminType() {
		return this.adminType;
	}

	public void setAdminType(Integer adminType) {
		this.adminType = adminType;
	}

	public Integer getAdminState() {
		return this.adminState;
	}

	public void setAdminState(Integer adminState) {
		this.adminState = adminState;
	}

	@Override
	public String toString() {
		return "Admin[adminId=" + adminId+ ", adminName=" + adminName + ", adminSex=" + adminSex + ", adminQq=" + adminQq + ", adminPhone=" + adminPhone + ", adminEmail=" + adminEmail + ", createTime=" + createTime + ", adminType=" + adminType + ", adminState=" + adminState + "]";
	}


}

